package com.ghost.vo.loading
{
	/**
	 * @author ghost
	 * 解析loading.xml
	 */	
	public class Loading_list
	{
		public function Loading_list(x:XML)
		{
			if(x)parse_xml(x);
		}
		public var list:Array = [];
		private function parse_xml(x:XML):void
		{
			for each(var ghost:XML in x.loading)
			{
				var ghost_loading_pro:Loading_pro = new Loading_pro(ghost);
				list[ghost_loading_pro.loading_name] = ghost_loading_pro;
			}
		}
	}
}